package Demo;

import java.util.Scanner;

public class MyDemo3 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入订单金额");
        Double money = scanner.nextDouble();
        System.out.println("请输入订单期限状态");
        String date = scanner.next();
        if(money > 600){
            if(date.equals("过期")){
                System.out.println("发出提货单,不发批准单");
            }else {
                System.out.println("发出批准单和提货单");
            }
        }else {
            if (date.equals("过期")){
                System.out.println("发出批准单和提货单 通知单");
            }else {
                System.out.println("发出批准单和提货单");
            }
        }
    }
}
